﻿using GC_FFW.Common.Constants.Text;

namespace GC_FFW.Common.Extensions
{
	public static class StringEx
	{
		public static string ToValidDoubleFormat(this string data)
		{
			return !string.IsNullOrEmpty(data)
				? data.Replace(Symbols.DOT, Symbols.COMMA)
				: string.Empty;
		}
	}
}
